package com.ashin.context;

public class LanguageContext {

    private final static ThreadLocal<String> threadLocal = ThreadLocal.withInitial(() -> "zh_CN");


    public static void setLanguage(String s) {
        threadLocal.set(s);
    }

    public static String getLanguage() {
        return threadLocal.get();
    }


}
